<% @vehicles.each do |vehicle| %>
	Name:  <%= vehicle[:info].name %>
	Year:  <%= vehicle[:info].year %>
	Price:  <%= vehicle[:info].price %>
	KM:  <%= vehicle[:info].km %>
	Transmission:  <%= vehicle[:info].transmission %>
	URL:  <%= link_to "Click", vehicle[:info].url %>
  Listed:  <%= vehicle[:info].date_listed %>
  Updated:  <%= vehicle[:info].date_updated %>


  AVERAGES: (sample size <%= vehicle[:sample_size] %>)
    Price = <%= vehicle[:average_price] %>
    KM = <%= vehicle[:average_km] %> 

  <% if not vehicle[:old_price].nil? %>
    OLD PRICE: <%= vehicle[:old_price] %>
  <% end %>

	Description:  <%= vehicle[:info].description %>


=====================================================================

<% end %>